package com.sanjiahantang.youjiarole.module.common.models;

import android.content.Context;

import com.sanjiahantang.youjiarole.base.BaseBean;
import com.sanjiahantang.youjiarole.base.CallBack;
import com.sanjiahantang.youjiarole.module.common.beans.FileBean;

import java.util.Map;

/**
 * Created by zy on 2017/10/23.
 */

public interface IFileModel {

        void doUpoad(Context context, Map<String, String> param, CallBack<FileBean> callBack);

    void deleteFileRole(Context context, Map<String, String> param, CallBack<BaseBean> callBack);

    void uploadMallFile(final Context context, Map<String, String> param, final CallBack<FileBean> callBack);

    void deleteMallFile(final Context context, Map<String, String> param, final CallBack<BaseBean> callBack);

    void uploadPlanFile(final Context context, Map<String, String> param, final CallBack<FileBean> callBack);

    void deletePlanFile(final Context context, Map<String, String> param, final CallBack<BaseBean> callBack);

    void searchFieldList(Context context, Map<String, String> param, CallBack<FileBean> callBack);
}
